package com.my.zl.console.service.autocode;

import com.my.zl.common.dto.ReqDTO;
import com.my.zl.common.dto.advancedQuery.PageQueryDTO;
import com.my.zl.console.entity.autocode.ZlFieldMapping;
import com.my.zl.console.dto.autocode.fieldMapping.ReqFieldMappingAddDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ReqFieldMappingDelDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ReqFieldMappingEditDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ReqFieldMappingQueryDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ReqFieldMappingDetailDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ReqFieldMappingStateDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ResFieldMappingAddDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ResFieldMappingDelDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ResFieldMappingEditDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ResFieldMappingQueryDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ResFieldMappingDetailDTO;
import com.my.zl.console.dto.autocode.fieldMapping.ResFieldMappingStateDTO;

/**
 * 字段映射
 * @author ZL
 */
public interface IFieldMappingService {

    /**
     * 查询
     */
    ResFieldMappingQueryDTO queryFieldMappingList(ReqFieldMappingQueryDTO reqInfo,PageQueryDTO page) throws Exception;
    
    /**
     * 详情
     */
    ResFieldMappingDetailDTO queryFieldMappingDetail(ReqFieldMappingDetailDTO reqInfo) throws Exception;
    
    /**
     * 新增
     */
    ResFieldMappingAddDTO insertFieldMappingInfo(ReqDTO<ReqFieldMappingAddDTO> reqInfo) throws Exception;
    
    /**
     * 编辑
     */
    ResFieldMappingEditDTO updateFieldMappingInfo(ReqDTO<ReqFieldMappingEditDTO> reqInfo) throws Exception;
    
    /**
     * 删除
     */
    ResFieldMappingDelDTO deleteFieldMappingInfo(ReqDTO<ReqFieldMappingDelDTO> reqInfo) throws Exception;
    
    /**
     * 更新状态
     */
    ResFieldMappingStateDTO updateFieldMappingState(ReqDTO<ReqFieldMappingStateDTO> reqInfo) throws Exception;
    
    
}